import { http } from '@/utils/http'

export const speechToText = (data: FormData) =>
  http.post<{}, HttpResponse<string>>('/home/api/experience/speech', {
    headers: {
      'Content-Type': 'multipart/form-data',
    },
    data,
  })
